package com.yidao.user.service;

import com.yidao.core.service.BaseDomainObjectService;
import com.yidao.user.domain.User;

public interface UserService extends BaseDomainObjectService<User>{
	
	public void authenticate(String username, String password) throws AuthenticationException;

	public User getByUserName(String userName);
	
	public void changePassword(String userName, String oldPassword, String newPassword) throws AuthenticationException ;
}
